#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PYTHONPATH=${DIR}/../../../../:${PYTHONPATH}
export PYTHONPATH=${DIR}/../../../../slim:${PYTHONPATH}
export PYTHONPATH=${DIR}/../../../:${PYTHONPATH}

DATA=/home/admins/data/people/highdensity
prefix='crowdCounting'
postfix='mtl'

#python3 prepare_data.py \
#--root ${DATA}/highdensity \
#--output ${DATA} \
#--prefix ${prefix} \
#--postfix ${postfix}

python3 create_cc_tf_record.py \
--root ${DATA} \
--dataset 'train' \
--prefix ${prefix} \
--postfix ${postfix} \
--max-instance 320000 \
--min-number 1

#python3 create_cc_tf_record.py \
#--root ${DATA} \
#--dataset 'val' \
#--prefix ${prefix} \
#--postfix ${postfix} \
#--max-instance 3000
